//
//  LoginViewController.h
//  Jacksms-Iphone
//
//  Created by Daniele Ciriello on 18/11/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NSDataAdditions.h"
#import "DBAccess.h"

@interface LoginViewController : UIViewController {
	
	IBOutlet UITextField *usernametextfield;
	IBOutlet UITextField *passwordtextfield;
	IBOutlet UIButton *signinbutton;
	IBOutlet UIActivityIndicatorView *logginginactivityindicator;
	IBOutlet UILabel *loglabel;
	
	
	
}


-(IBAction)login;
-(IBAction)signin;
-(NSString *)base64Encoder:(NSString *)str;


@property (nonatomic, retain) UITextField *usernametextfield;
@property (nonatomic, retain) UITextField *passwordtextfield;
@property (nonatomic, retain) UIButton *signinbutton;
@property (nonatomic, retain) UIActivityIndicatorView *logginginactivityindicator;
@property (nonatomic, retain) UILabel *loglabel;

@end
